{% extends 'layout.html' %}
{% block content %}
    <div>
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                <a href="" class="btn btn-primary">
                    <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span>
                    编辑用户
                </a>
            </div>

            <div class="panel-body">
                <form method="post" novalidate >
                    {% for field in form %}
                        <div class="form-group">
                            <label>{{ field.label }}</label>
                            {{ field }}
                            <span>{{ field.errors.0 }}</span>
                        </div>
                    {% endfor %}
                    <button class="btn btn-primary" type="submit">提交</button>
                </form>
            </div>
        </div>


    </div>
</div>
{% endblock %}
